//
//  UIResponder+ZZUtil.h
//  ZZKitDemo
//
//  Created by hfzhangzhang on 2018/8/13.
//  Copyright © 2018年 hfzhangzhang. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIResponder (ZZUtil)

@end

@interface UIResponder (Controller)

@property (nonatomic, readonly) UIViewController       *viewController;
@property (nonatomic, readonly) UINavigationController *navigationController;
@property (nonatomic, readonly) UITabBarController     *tabBarController;

- (UIResponder *)zz_nearestResponderOfClass:(Class)clazz;

@end
